package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.Route;

/**
 * routeService接口
 * 
 * @author ruoyi
 * @date 2024-04-01
 */
public interface IRouteService 
{
    /**
     * 查询route
     * 
     * @param id route主键
     * @return route
     */
    public Route selectRouteById(Long id);

    /**
     * 查询route列表
     * 
     * @param route route
     * @return route集合
     */
    public List<Route> selectRouteList(Route route);

    /**
     * 新增route
     * 
     * @param route route
     * @return 结果
     */
    public int insertRoute(Route route);

    /**
     * 修改route
     * 
     * @param route route
     * @return 结果
     */
    public int updateRoute(Route route);

    /**
     * 批量删除route
     * 
     * @param ids 需要删除的route主键集合
     * @return 结果
     */
    public int deleteRouteByIds(String ids);

    /**
     * 删除route信息
     * 
     * @param id route主键
     * @return 结果
     */
    public int deleteRouteById(Long id);
}
